# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class ScrapySeleniumItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass

class ProductItem(scrapy.Item):
    """京东商品信息"""

    collection = 'products' # 数据库存储集合名称

    name=scrapy.Field() # 商品名称
    price=scrapy.Field() # 价格
    commitNum=scrapy.Field() # 评价人数
    promo=scrapy.Field() # 促销